package cn.hanyx.coder.design.pattern.behavioral.chain.demo01;

/**
 * Application
 *
 * @author hanyx
 * @date 2020/06/05
 */
public class Application {
    public static void main(String[] args) {
        HandlerChain chain = new HandlerChain();
        chain.addHandler(new HandlerA());
        chain.addHandler(new HandlerB());
        chain.addHandler(new HandlerC());
        chain.handle();
    }
}
